package com.chaos.payment.service.pay.ali;

import com.chaos.framework.model.dto.result.data.DataResult;
import com.chaos.order.api.dto.pay.request.PayRequest;
import com.chaos.order.api.dto.pay.request.RefundRequest;
import com.chaos.order.api.dto.pay.response.PayResponse;
import com.chaos.order.api.dto.pay.response.RefundResponse;
import com.chaos.payment.service.pay.AbstractPay;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @author: crayon
 * @time: 2024/6/17 18:19
 */
@Slf4j
@Component
@RequiredArgsConstructor
public class AliPayApi extends AbstractPay<PayRequest, RefundRequest> {

    /**
     * ali:
     *   # 商户号
     *   mchId: "2088741468437253"
     *   # 小程序 ID
     *   appId: "2021004130636099"
     *   aesKey: "ScKctYK3+RslN5XB5nzDoQ=="
     *   zmServiceId: "2024012900000000000312982500"
     * @param request  请求参数
     * @return
     */
    @Override
    public DataResult<PayResponse> pay(PayRequest request) {
        return null;
    }

    @Override
    public DataResult<PayResponse> payQuery(PayRequest request) {
        return null;
    }

    @Override
    public DataResult<PayResponse> payCancel(PayRequest request) {
        return null;
    }

    @Override
    public DataResult<RefundResponse> refund(RefundRequest request) {
        return null;
    }

    @Override
    public DataResult<RefundResponse> refundQuery(RefundRequest request) {
        return null;
    }

    @Override
    public Boolean verifySign(String jsonObject, Integer verifyType) {
        return null;
    }
}
